﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WTAppletProjectHTTPS.Models
{
    /// <summary>
    /// Cola终检检验记录 (ColaFinalInspectionRecord)
    /// </summary>
    public class ColaFinalInspectionRecord
    {
        public int CFIR_ID { get; set; }
        public string CFIR_Inspector { get; set; } // 检验员
        public string CFIR_Shift { get; set; } // 班别
        public DateTime? CFIR_InspectionTime { get; set; } // 检验时间
        public string CFIR_LineParting { get; set; } // 线别
        public string CFIR_OrderNumber { get; set; } // 订单号
        public string CFIR_ProductModel { get; set; } // 产品型号
        public int CFIR_BatchQuantity { get; set; } // 批量数
        public int CFIR_SampleQuantity { get; set; } // 抽检数
        public string CFIR_InspectionItem { get; set; } // 检验项目
        public string CFIR_C1DisconnectionDefect { get; set; } // C1通断不良
        public string CFIR_C2ProtectionGateDefect { get; set; } // C2保护门不良
        public string CFIR_C3HandFeelDefect { get; set; } // C3手感不良
        public string CFIR_C4AppearanceDefect { get; set; } // C4外观不良
        public string CFIR_C5PadPrintingLaserDefect { get; set; } // C5移印镭雕不良
        public string CFIR_C6AssemblyDefect { get; set; } // C6装配不良
        public string CFIR_C7EquipmentJigDefect { get; set; } // C7设备/夹具引起不良
        public string CFIR_C8MarkingDefect { get; set; } // C8标志不良
        public string CFIR_C9InjectionMoldedPartDefect { get; set; } // C9注塑件不良
        public string CFIR_C10PackagingDefect { get; set; } // C10包装不良
        public string CFIR_C11VoltageResistanceDefect { get; set; } // C11耐压不良
        public string CFIR_C12OtherDefects { get; set; } // C12其他不良
        public string CFIR_InspectionConclusion { get; set; } // 检验结论
        public string CFIR_WhichInspectionQualified { get; set; } // 第几次检验合格
        public string CFIR_NonconformanceDescription1 { get; set; } // 不合格描述
        public string CFIR_NonconformanceImage1 { get; set; } //不良图片
        public string CFIR_NonconformanceDescription2 { get; set; } // 不合格描述
        public string CFIR_NonconformanceImage2 { get; set; } //不良图片
        public string CFIR_NonconformanceDescription3 { get; set; } // 不合格描述
        public string CFIR_NonconformanceImage3 { get; set; } //不良图片

        public string CFIR_CreateCreator { get; set; }//创建人

        public DateTime? CFIR_CreateTime { get; set; }//创建时间
    }


    public class ColaFinalInspectionRecordQuery
    {
        public int CFIR_ID { get; set; }
        public string CFIR_Inspector { get; set; } // 检验员
        public string CFIR_Shift { get; set; } // 班别
        public DateTime? CFIR_InspectionTime { get; set; } // 检验时间
        public string CFIR_LineParting { get; set; } // 线别
        public string CFIR_OrderNumber { get; set; } // 订单号
        public string CFIR_ProductModel { get; set; } // 产品型号
        public int CFIR_BatchQuantity { get; set; } // 批量数
        public int CFIR_SampleQuantity { get; set; } // 抽检数
        public string CFIR_InspectionItem { get; set; } // 检验项目
        public string CFIR_C1DisconnectionDefect { get; set; } // C1通断不良
        public string CFIR_C2ProtectionGateDefect { get; set; } // C2保护门不良
        public string CFIR_C3HandFeelDefect { get; set; } // C3手感不良
        public string CFIR_C4AppearanceDefect { get; set; } // C4外观不良
        public string CFIR_C5PadPrintingLaserDefect { get; set; } // C5移印镭雕不良
        public string CFIR_C6AssemblyDefect { get; set; } // C6装配不良
        public string CFIR_C7EquipmentJigDefect { get; set; } // C7设备/夹具引起不良
        public string CFIR_C8MarkingDefect { get; set; } // C8标志不良
        public string CFIR_C9InjectionMoldedPartDefect { get; set; } // C9注塑件不良
        public string CFIR_C10PackagingDefect { get; set; } // C10包装不良
        public string CFIR_C11VoltageResistanceDefect { get; set; } // C11耐压不良
        public string CFIR_C12OtherDefects { get; set; } // C12其他不良
        public string CFIR_InspectionConclusion { get; set; } // 检验结论
        public string CFIR_WhichInspectionQualified { get; set; } // 第几次检验合格
        public string CFIR_NonconformanceDescription1 { get; set; } // 不合格描述
        public string CFIR_NonconformanceImage1 { get; set; } //不良图片
        public string CFIR_NonconformanceDescription2 { get; set; } // 不合格描述
        public string CFIR_NonconformanceImage2 { get; set; } //不良图片
        public string CFIR_NonconformanceDescription3 { get; set; } // 不合格描述
        public string CFIR_NonconformanceImage3 { get; set; } //不良图片
        public string CFIR_CreateCreator { get; set; }//创建人

        public DateTime? CFIR_CreateTime { get; set; }//创建时间
        public int PageNumber { get; set; } //第几页
        public int PageSize { get; set; }//一页的条数
    }
}